home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19951130-19960209 / 000449_news@columbia.edu _Mon Feb 5 12:04:36 1996.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: news@columbia.edu
  2. Received: from apakabar.cc.columbia.edu (apakabar.cc.columbia.edu [128.59.35.159]) by watsun.cc.columbia.edu (8.7.3/8.7.3) with ESMTP id MAA29779 for <kermit.misc@watsun>; Mon, 5 Feb 1996 12:04:35 -0500 (EST)
  3. Received: (from news@localhost) by apakabar.cc.columbia.edu (8.7.3/8.7.3) id MAA20235 for kermit.misc@watsun; Mon, 5 Feb 1996 12:04:31 -0500 (EST)
  4. Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
  5. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  6. Newsgroups: comp.protocols.kermit.misc
  7. Subject: Re: What am I doing wrong !!
  8. Date: 5 Feb 1996 17:04:15 GMT
  9. Organization: Columbia University
  10. Lines: 39
  11. Message-ID: <4f5daf$jo4@apakabar.cc.columbia.edu>
  12. References: <4ethdv$et8@news.Ieunet.ie>
  13. NNTP-Posting-Host: watsun.cc.columbia.edu
  14.  
  15. In article <4ethdv$et8@news.Ieunet.ie>,
  16. Eoin Bairead <ebairead@login.ieunet.ie> wrote:
  17. : I'm doing sumthin stoopid...
  18. : I want a neat way of logging on to a VAX from a PC
  19. : I have a nice PC program that prompts for Username & password
  20. : then I have a batch file: X.BAT which says
  21. : kermit -f myfile.ini,define \%%1 %1, define \%%2 %2
  22. : in myfile.ini I have:
  23. : input 10 Username:
  24. : output \%1\13
  25. : input 5 Password:
  26. : output \%2\13
  27. : I then say:
  28. : X BLOGGS SECRET
  29. : and it falls over with nothing being output.
  30. Sounds like you need a manual.  "Using MS-DOS Kermit" explains all
  31. you need to know to do exactly what you are trying to do; in particular,
  32. how to pass parameters, and their scope and lifetime.
  33.  
  34. Try this:
  35.  
  36. : kermit -f myfile.ini,define \%%u %1, define \%%p %2
  37. : in myfile.ini I have:
  38. : input 10 Username:
  39. : output \%u\13
  40. : input 5 Password:
  41. : output \%p\13
  42. And yes, there are more elegant ways to do it.
  43.  
  44. - Frank